package com.koron.order.experiment.feign;

import com.koron.bean.base.Response;
import com.koron.common.core.feignConfig.FeignFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "eam-service-plan", fallbackFactory = FeignFallbackFactory.class)
public interface PlanIssueFeignService {

    @PostMapping("/issue/issueExecute")
    Response issueExecute(@RequestParam("issueCode") String issueCode);

    @PostMapping("/issue/issueFinish")
    Response issueFinish(@RequestParam("issueCode") String issueCode);

}
